package com.kgc.sbt.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * slideshow
 * @author 
 */
@Data
@ApiModel(value = "购物车详情" ,description = "对应数据库中的Slideshow表")
public class Slideshow implements Serializable {
    /**
     * 轮播图编号
     */
    @ApiModelProperty(value = "轮播图id",name = "id")
    private Integer id;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址",name = "imageUrl")
    private String imageUrl;

    /**
     * 背景色
     */
    @ApiModelProperty(value = "背景色",name = "backgrouldColor")
    private String backgrouldColor;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id",name = "itemId")
    private String itemId;

    /**
     * 商品分类id
     */
    @ApiModelProperty(value = "商品分类",name = "catId")
    private String catId;

    /**
     * 轮播类型
     */
    @ApiModelProperty(value = "轮播图类型，0-商品id,1-分类id",name = "type")
    private Integer type;

    /**
     * 轮播展示顺序
     */
    @ApiModelProperty(value = "轮播图顺序，按数字从小到大",name="sort")
    private Integer sort;

    /**
     * 是否展示
     */
    @ApiModelProperty(value = "是否展示轮播图，0-不展示，1-展示",name = "isShow")
    private Integer isShow;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",name = "createTime",required = false)
    private Date creatTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间",name = "updateTime",example = "2021-11-23 12:00:00")
    private Date updateTime;

    /**
     * 跳转链接
     */
    @ApiModelProperty(value = "跳转链接")
    private String tourl;

    private static final long serialVersionUID = 1L;
}